<%@ page import="workforecast.Report" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main2">
		<g:set var="entityName" value="${message(code: 'report.label', default: 'Report')}" />
		<title><g:message code="default.edit.label" args="[entityName]" /></title>
	</head>
	<body>
	<div class="nav" role="navigation">
			<ul>
				<li><a class="back" href="${createLink(action: 'list', controller:'report')}">Back</a></li>
				<li><a class="home" href="${createLink(action: 'home', controller:'user')}">Home</a></li>
				<li><a class="logout" href="${createLink(action: 'logout', controller:'user')}">Logout</a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<table>
			<tr><td>Consultant: ${consultant}</td></tr>
			<tr>
				<td>Week:</td>
			 		 <g:each in="${numberList}" status="i" var="number">
					
						<td>${number}</td>
					</g:each>
			</tr>
			
			<tr>
				<td style="font-style:bold;">Workload total</td>
				 <g:each in="${workloadList}" status="i" var="workload">
				<td>	${workload} &#37		</td>
				</g:each>
			</tr>
			<tr>
				<td style="font-style:bold;">Availability</td>
				 <g:each in="${availabilityList}" status="i" var="av">
				<td>	${av} &#37		</td>
				</g:each>
			</tr>
			
		</table>
		<hr>
		<br>
		<table class="main3">
			<tr>
			</tr>
			<tr>
				<td>ARVE: ${arve} &#37;</td>
			</tr>
			<tr>
				<td>URVE: ${urve} &#37; </td>
			</tr>
			
		</table>	
	</body>
</html>
